home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: Drop Outside Content View
- Sent: 6/25/96 9:25 AM
- Received: 6/25/96 9:43 AM
- From: Henri Lamiraux, lamiraux@apple.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- >Dear ODF Team:
- >
- >When I drag something inside my part's frame, but not in the content view,
- >the drop occurs even though the drop feedback is off. Is this a bug or is
- >there something I should do to prevent that to happen?
- >
- >Serge
- >
-
- Yes, this is a bug in ODF 1. The fix is easy, in FW_MDroppableFrame::Drop
- replace the lines
-
-
- if (fPart->IsReadOnly(ev))
- return dropResult;
-
-
- by
-
-
- if (fPart->IsReadOnly(ev) || !fCursorInContent)
- return dropResult;
-
-
- ........................................................................
- Henri Lamiraux lamiraux@apple.com
- Apple Computer, Inc. OpenDoc(tm) Development Framework
- ........................................................................
-
-